package com.jtbd.service.impl.campus;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jtbd.domain.CustomerChildrenRelation;
import com.jtbd.service.campus.CustomerChildrenRelationService;
import com.jtbd.mapper.CustomerChildrenRelationMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 * @description 针对表【customer_children_relation(客户孩子关系表)】的数据库操作Service实现
 * @createDate 2025-08-23 11:55:35
 */
@Service
public class CustomerChildrenRelationServiceImpl extends ServiceImpl<CustomerChildrenRelationMapper, CustomerChildrenRelation>
        implements CustomerChildrenRelationService {
    @Resource
    private CustomerChildrenRelationMapper customerChildrenRelationMapper;

    @Override
    public int addCustomerChildrenRelation(CustomerChildrenRelation customerChildrenRelation) {
        return customerChildrenRelationMapper.insert(customerChildrenRelation);
    }

    @Override
    public int updateRelationById(CustomerChildrenRelation customerChildrenRelation) {
        return customerChildrenRelationMapper.updateById(customerChildrenRelation);
    }
}




